/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.config.model;

import com.icinfo.framework.mybatis.mapper.annotation.Before;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 描述: 违则罚则 config_case_punishbasis_sync 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年04月02日
 */
@Table(name = "upcase.config_case_punishbasis_sync")
public class ConfigCasePunishBasisSync implements Serializable {
    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 案由id
     */
    @Column(name = "bus_id")
    private String busId;

    /**
     * 违则
     */
    @Column(name = "illegal_basis")
    private String illegalBasis;

    /**
     * 违则详情
     */
    @Column(name = "illegal_detail")
    private String illegalDetail;

    /**
     * 罚则
     */
    @Column(name = "punish_basis")
    private String punishBasis;

    /**
     * 罚则详情
     */
    @Column(name = "punish_detail")
    private String punishDetail;

    private static final long serialVersionUID = 1L;

    /**
     * 获取主键id
     *
     * @return id - 主键id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置主键id
     *
     * @param id 主键id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取案由id
     *
     * @return bus_id - 案由id
     */
    public String getBusId() {
        return busId;
    }

    /**
     * 设置案由id
     *
     * @param busId 案由id
     */
    public void setBusId(String busId) {
        this.busId = busId;
    }

    /**
     * 获取违则
     *
     * @return illegal_basis - 违则
     */
    public String getIllegalBasis() {
        return illegalBasis;
    }

    /**
     * 设置违则
     *
     * @param illegalBasis 违则
     */
    public void setIllegalBasis(String illegalBasis) {
        this.illegalBasis = illegalBasis;
    }

    /**
     * 获取违则详情
     *
     * @return illegal_detail - 违则详情
     */
    public String getIllegalDetail() {
        return illegalDetail;
    }

    /**
     * 设置违则详情
     *
     * @param illegalDetail 违则详情
     */
    public void setIllegalDetail(String illegalDetail) {
        this.illegalDetail = illegalDetail;
    }

    /**
     * 获取罚则
     *
     * @return punish_basis - 罚则
     */
    public String getPunishBasis() {
        return punishBasis;
    }

    /**
     * 设置罚则
     *
     * @param punishBasis 罚则
     */
    public void setPunishBasis(String punishBasis) {
        this.punishBasis = punishBasis;
    }

    /**
     * 获取罚则详情
     *
     * @return punish_detail - 罚则详情
     */
    public String getPunishDetail() {
        return punishDetail;
    }

    /**
     * 设置罚则详情
     *
     * @param punishDetail 罚则详情
     */
    public void setPunishDetail(String punishDetail) {
        this.punishDetail = punishDetail;
    }
}